<jsp:include page="../template/top.jsp"></jsp:include>

<div class="interfaceExterna">
	<h3>
		<a href="#">Reservas</a>
	</h3>
	<div>
		<table>
			<thead>
				<tr>
					<th width="130px" align="left">Apartamento</th>
					<th width="300px" align="left">H&oacute;spede</th>
					<th width="300px" align="left">Pais de origem</th>
					<th align="left">CPF/Passaporte</th>
				</tr>
			</thead>

			<tbody>
				<c:if test="${not empty reservas}">
					<c:forEach var="reserva" items="${reservas}">
						<tr>
							<td>${reserva.apartamento.numero}</td>
							<td>${reserva.hospede.nome}</td>
							<td>${reserva.hospede.pais.nome}</td>
							<td>${reserva.hospede.cpf}${reserva.hospede.passaporte}</td>
						</tr>
					</c:forEach>
				</c:if>
			</tbody>
		</table>
	</div>
</div>

<br>

<div class="botoes">
	<a href="${pageContext.request.contextPath}/relatorio/hospede"
		id="botaoVoltar">Voltar</a>
</div>

<jsp:include page="../template/bottom.jsp"></jsp:include>